import $axios from "@/network";

/**
 * {获取服务名称列表}
 *
 * @author: 宋康
 * @date: 2022/9/17 15:44
 */
export const queryServiceNameList = () => {
  return $axios({
    method: 'POST',
    url: '/evlog/ev/service/list',
  })
}

/**
 * {获取服务日志}
 * @param serviceId
 * @author: 宋康
 * @date: 2022/9/17 16:14
 */
export const queryServiceLog = serviceId => {
  return $axios({
    method: 'POST',
    url: '/evlog/ev/service/log',
    params: {
      serviceId
    }
  })
}